package generadorDescriptores.dom;

import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;

public class DimensionsDom {
	Element elementDimensions;
	Document document; 
	
	public DimensionsDom(Document doc){
		this.document = doc;
		this.elementDimensions = doc.createElement("dimensions");
	}
	
	
	public void addDimension(DimensionDom dimension){
		elementDimensions.appendChild(dimension.getElement());
	}

	public Element getElement() {
		return this.elementDimensions;
	}

}
